package com.gxa.order.dto;


import lombok.Data;
import org.springframework.stereotype.Component;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


@Data
@Component
public class MailDTO implements Serializable {
    //邮件的主题

    private String subject;

    private String from = "377576540@qq.com";

    //邮件的接收者

    private String[] to;

    //邮件的抄送人

    private String[] cc;

    //邮件的正文

    private String text;
}
